package org.ainlolcat.ainscience.metaentity;

import org.ainlolcat.ainscience.entity.EntityParser;
import org.ainlolcat.ainscience.templates.Template;

import javax.swing.*;

/**
 * Created by IntelliJ IDEA.
 * User: ain
 * Date: 12/8/11
 * Time: 8:29 AM
 * To change this template use File | Settings | File Templates.
 */
public interface MetaEntity {
    //define save or not entity in project
    public boolean isPersistent();

    public MetaEntityParser getParser();
    public JPanel getRenderer();

    public Template getTemplate();
    public String getType();

    public void setID(Integer id);
    public Integer getID();

    public void setName(String name);
    public String getName();
}
